---
created:
  source_filename: /home/runner/work/mknodes/mknodes/src/mknodes/pages/mkclasspage/__init__.py
  source_function: MkClassPage.__init__
  source_line_no: 46
hide:
- toc
icon: material/code-json
status: new
title: MkCommentedCode
---

[:fa-brands-github: Show source on GitHub](https://github.com/phil65/mknodes/blob/main/src/mknodes/templatenodes/mkcommentedcode/__init__.py)

### Node which displays a list of code / comment blocks for given code.

!!! info "Description"

    Lines beginning with # are shown in dedicated blocks and can be used to
    inline-explain the code. Lines can be hidden by ending a line with "##".


